<?php

use fztadmin\modules\platform\models\forms\LogPlatformCapitalOperation;
use kartik\form\ActiveForm;
use yii\bootstrap\Html;
use wodrow\yii2wtools\tools\JsBlock;
use yii\helpers\Url;
use common\Tools;
/**
 * @var \yii\web\View $this
 * @var $model LogPlatformCapitalOperation
 */
$this->title = "自有资金分户间转账";
?>

    <div>
        <div class="row">
            <div class="col-xs-12">
                <?php $form = ActiveForm::begin(); ?>
                <?=$form->field($model, 'trans_id')->hiddenInput(['value' => uniqid()])->label(false) ?>
                <div class="row">
                    <div class="col-xs-4">
                        <?=$form->field($model, 'out_acct_type')->dropDownList($model->getOutAcctTypeDesc(), ['prompt' => "请选择"]) ?>
                    </div>
                    <div class="clearfix"></div>
                    <div class="col-xs-4">
                        <?=$form->field($model, 'in_acct_type')->dropDownList($model->getOutAcctTypeDesc(), ['prompt' => "请选择"]) ?>
                    </div>
                    <div class="clearfix"></div>
                    <div class="col-xs-2">
                        <?=$form->field($model, 'trans_amount')->textInput() ?>
                    </div>
                    <div class="clearfix"></div>
                    <div class="col-xs-6">
                        <?=$form->field($model, 'remark')->textarea() ?>
                    </div>
                    <div class="clearfix"></div>
                </div>
                <?=Html::submitButton("确认", ['class' => "btn btn-primary"]); ?>
                <?php ActiveForm::end(); ?>
            </div>
        </div>
    </div>

<?php JsBlock::begin(); ?>
    <script>
        $(function (){});
    </script>
<?php JsBlock::end(); ?>